Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): list-source-runs added null checking #12369

Merged

Conversation

kevinkarchacryl
Copy link
Contributor

Was seeing some errors when running against the messed up state of Paxos's ingestion. I added a bunch of null checks and tested with: missing sources, missing urns, correct sources, correct urns. Sample result for Paxos:
image

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@@ -115,17 +115,17 @@ datahub ingest -c ./examples/recipes/example_to_datahub_rest.dhub.yaml --dry-run
datahub ingest -c ./examples/recipes/example_to_datahub_rest.dhub.yaml -n
```

#### ingest --list-source-runs
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was always "datahub ingest list-source-runs" so just correcting the doc here

@github-actions github-actions bot added ingestion PR or Issue related to the ingestion of metadata docs Issues and Improvements to docs labels Jan 16, 2025
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
metadata-ingestion/src/datahub/cli/ingest_cli.py 0.00% 12 Missing ⚠️
Files with missing lines Coverage Δ
metadata-ingestion/src/datahub/cli/ingest_cli.py 39.93% <0.00%> (-0.68%) ⬇️

... and 36 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7eaadb0...8f41f9c. Read the comment docs.

@kevinkarchacryl kevinkarchacryl merged commit bfe9758 into datahub-project:master Jan 16, 2025
187 of 218 checks passed
@kevinkarchacryl kevinkarchacryl deleted the fix-list-source-runs branch January 16, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Issues and Improvements to docs ingestion PR or Issue related to the ingestion of metadata pending-submitter-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants